package com.dy.design_pattern_study.adaptor_pattern.dome2.entry;

import lombok.Data;

/**
 * @CreateBy zhangdingyi
 * @Date 2023-04-07
 * @Content 外籍中锋 -新的接口功能
 */
@Data
public class ForeignCenter {
    private String name;

    //进攻
    public void jg(){
        System.out.println("进攻，外籍中锋 name = " + name);
    }

    //防守
    public void sf(){
        System.out.println("防守，外籍中锋 name = " + name);
    }
}
